package cn.hsw.manage.permission.entity;

import cn.hsw.component.data.base.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 李子木
 * @since 2021-11-03 08:56:37
 */
@Getter
@Setter
@TableName("hsw_manage_permission")
@ApiModel(value = "Permission对象", description = "")
public class Permission extends BaseModel {

    private static final long serialVersionUID = 1L;

    @TableField("code")
    private String code;

    @TableField("name")
    private String name;

    @TableField("parent_pid")
    private Long parentPid;

    @TableField("sort")
    private Integer sort;

    @TableField("state")
    private Integer state;

    @TableField("type")
    private Integer type;

    @TableField("url")
    private String url;

    @TableField("icon")
    private String icon;

    @TableField("target")
    private String target;


}
